package main

import "fmt"

func main() {
	fmt.Println("Week01 练习1 开始")

	messageArray := [...]string{"I", "am", "stupid", "and", "weak"}

	fmt.Println("开始输出数组")
	for size := 0; size < len(messageArray); size++ {
		fmt.Print(messageArray[size], " ")
	}
	fmt.Println()

	fmt.Println("开始修改数组")
	messageArray[2] = "smart"
	messageArray[4] = " strong"
	// fmt.Println()
	for size := 0; size < len(messageArray); size++ {
		fmt.Print(messageArray[size], " ")
	}
	fmt.Println()
	fmt.Println("修改数组输出完毕")
	fmt.Println("Week01 finish")

}
